import React,{Component} from "react";

export default class State404 extends Component{
    constructor(){
        super();
    }

    goBack(){
        location.replace("#/home");
    }

    render(){
        return (
            <div className="state404">
                <div className="stateBg"><span></span></div>
                <p>抱歉！您访问的页面已离开地球。</p>
                <button className="back" onClick={this.goBack.bind(this)}><span></span>返回</button>
                <button className="refresh" ><span></span>刷新</button>
            </div>
        )
    }
}